package com.shiguiwu.springmybatis.spring.autowired.resource;

import lombok.Data;
import org.springframework.context.annotation.ComponentScan;

import javax.annotation.Resource;

/**
 * @description: r
 * @author: stone
 * @date: Created by 2021/3/15 15:25
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.spring.autowired
 */
@ComponentScan
@Data
public class RConfig {

    //按照名称来找
    @Resource
    private Rc ra;

    //按照名称来找
    @Resource(name = "ra")
    private Rc rc;


}
